-- GENERATED SPELL FOR [Graymist Hunter] --


function spell0_26592(pUnit, Event) --@Gore,n/a--
pUnit:FullCastSpellOnTarget(32019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26592', 15000, 1)
end

function Sorts_26592(pUnit, Event)
local choix_sorts_26592 = math.random(0, 0)
if choix_sorts_26592 == 0 then
pUnit:RegisterEvent('spell0_26592', 1, 1)
end
end

function mob26592_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26592', math.random(1500, 3000), 1)
end

function mob26592_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26592_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26592_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26592, 1, 'mob26592_Action')
RegisterUnitEvent(26592, 2, 'mob26592_Leave')
RegisterUnitEvent(26592, 3, 'mob26592_Kill')
RegisterUnitEvent(26592, 4, 'mob26592_Die')
